package com.service.imp;

import com.mapper.QingXuMapper_x;
import com.pojo.QingXu_x;
import com.service.QingXuService_x;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class QingXuServiceImp_x implements QingXuService_x {
    @Autowired
    private QingXuMapper_x qingXuMapperX;
    @Override
    public List<QingXu_x> findById(Integer id) {
        return qingXuMapperX.findById(id);
    }

    @Override
    public Integer add(QingXu_x qingXuX) {
        return qingXuMapperX.add(qingXuX);
    }

    @Override
    public Integer update(QingXu_x qingXuX) {
        return qingXuMapperX.update(qingXuX);
    }

    @Override
    public Integer delete(Integer id) {
        return qingXuMapperX.delete(id);
    }

    @Override
    public List<QingXu_x> select(Integer id, String title, String content) {
        return qingXuMapperX.select(id, title, content);
    }
}
